<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of HeaderCommonElement
 *
 * @author jhonny
 */
class HeaderCommonElement {
    private $elements;
   
    public function __construct() {
        $this->elements= array();
    }
    public function add($value) {
        array_push($this->elements, $value);
    }

    public function setElements($elements){
        
        $this->elements = $elements;
    }
   
    public function getElements(){
        return $this->elements;
    }
    public function toString(){
        $value='';
        if($this->elements!=null){
        foreach ($this->elements as $element) {
            $value.=$element->toString().'
';
        }
        }
        return $value;
    }
}
?>
